/*
 * Copyright(c) 2020-2100 万达信息股份有限公司 版权所有
 * WONDERS INFORMATION CO., LTD. ALL RIGHTS RESERVED.
 */

package com.wondersgroup.simplefactory;

import com.wondersgroup.Broom;
import com.wondersgroup.Car;
import com.wondersgroup.Plane;

/**
 * 简单工厂
 * 可扩展性不好
 * @author: huym
 * @version: 1.0
 * @date: 2020/12/10
 */
public class VehicleFactory {

    public Car createCar(){
        // before processing
        return new Car();
        // after processing
    }

    public Broom createBroom(){
        // before processing
        return new Broom();
        // after processing
    }

    public Plane createPlane(){
        // before processing
        return new Plane();
        // after processing
    }

}